﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ucTourDetail.ascx.cs"
    Inherits="Indochinaodyssey.UserControl.Tour.ucTourDetail" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<style type="text/css">
    .style2-tour-detail
    {
        color: #FF9900;
    }
    .style3-tour-detail
    {
        color: #FF3300;
    }
</style>
<!--[if  IE]>

       <link href="Style/IEforLightBox.css" rel="stylesheet" type="text/css" />

<![endif]-->
<![if !IE]>
<link href="Style/jquery.lightbox-0.5.css" rel="stylesheet" type="text/css" />
<![endif]>
<script src="Scripts/jquery.lightbox-0.5.js" type="text/javascript"></script>
<script type="text/javascript">
    $(function () {
        $('#galleryBox a').lightBox();
    });


</script>
<div>
    <div>
        <asp:Label ID="Label1" runat="server" Text="Label"></asp:Label></div>
    <div>
        <asp:TabContainer ID="TabContainer1" runat="server" ActiveTabIndex="0">
            <asp:TabPanel ID="TabPanel1" runat="server" HeaderText="Gallery">
                <ContentTemplate>
                    <div id="galleryBox">
                        <asp:ObjectDataSource ID="ObjectDataSource1" runat="server" SelectMethod="GetByTour"
                            TypeName="IOBusiness.clsBSHinhAnh">
                            <SelectParameters>
                                <asp:QueryStringParameter Name="tourid" QueryStringField="id" Type="Int32" />
                            </SelectParameters>
                        </asp:ObjectDataSource>
                        <asp:DataList ID="DataList1" runat="server" DataSourceID="ObjectDataSource1" RepeatColumns="6"
                            RepeatDirection="Horizontal" Width="100%">
                            <ItemTemplate>
                                <a href='<%# "Images/HinhAnh/"+Eval("Url") %>'>
                                    <img src='<%# "Images/HinhAnh/"+Eval("Url") %>' width="100" height="100" alt="" /></a>
                                <br />
                                <br />
                            </ItemTemplate>
                        </asp:DataList>
                    </div>
                </ContentTemplate>
            </asp:TabPanel>
            <asp:TabPanel ID="TabPanel2" runat="server" HeaderText="Book this Tour">
                <ContentTemplate>
                    <table width="100%">
                        <tr>
                            <td colspan="2" align="center">
                                <asp:Label ID="lblTour" runat="server" Text="Label" Style="font-weight: 700; color: #009900"></asp:Label>
                                <br />
                                <span class="style2-tour-detail">Your information will be secured strictly! </span>
                            </td>
                        </tr>
                        <tr>
                            <td width="30%">
                                Full name as printed on passport:
                            </td>
                            <td>
                                <asp:DropDownList ID="DropDownList1" runat="server">
                                    <asp:ListItem>Mr.</asp:ListItem>
                                    <asp:ListItem>Prof.</asp:ListItem>
                                    <asp:ListItem>Dr.</asp:ListItem>
                                    <asp:ListItem>Miss.</asp:ListItem>
                                    <asp:ListItem>Ms.</asp:ListItem>
                                    <asp:ListItem>Mrs.</asp:ListItem>
                                </asp:DropDownList>
                                <asp:TextBox ID="txtFullName" runat="server" ValidationGroup="1"></asp:TextBox>
                                <span class="style3">*</span><asp:RequiredFieldValidator ID="RequiredFieldValidator1"
                                    runat="server" ControlToValidate="txtFullName" Display="None" ErrorMessage="Required Value"
                                    ValidationGroup="1"></asp:RequiredFieldValidator>
                                <asp:ValidatorCalloutExtender ID="RequiredFieldValidator1_ValidatorCalloutExtender"
                                    runat="server" BehaviorID="ma1" Enabled="True" TargetControlID="RequiredFieldValidator1">
                                </asp:ValidatorCalloutExtender>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                Email Address:
                            </td>
                            <td>
                                <asp:TextBox ID="txtEmailAddress" runat="server" Width="200px" ValidationGroup="1"></asp:TextBox>
                                <span class="style3-tour-detail">*</span><asp:RequiredFieldValidator ID="RequiredFieldValidator2"
                                    runat="server" ControlToValidate="txtEmailAddress" Display="None" ErrorMessage="Required Value"
                                    ValidationGroup="1"></asp:RequiredFieldValidator>
                                <asp:ValidatorCalloutExtender ID="RequiredFieldValidator2_ValidatorCalloutExtender"
                                    runat="server" BehaviorID="ma2" Enabled="True" TargetControlID="RequiredFieldValidator2">
                                </asp:ValidatorCalloutExtender>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                Telephone number
                            </td>
                            <td>
                                <asp:TextBox ID="txtTelephone" runat="server" Width="200px" ValidationGroup="1"></asp:TextBox>
                                <span class="style3-tour-detail">*</span><asp:RequiredFieldValidator ID="RequiredFieldValidator4"
                                    runat="server" ControlToValidate="txtTelephone" Display="None" ErrorMessage="Required Value"
                                    ValidationGroup="1"></asp:RequiredFieldValidator>
                                <asp:ValidatorCalloutExtender ID="RequiredFieldValidator4_ValidatorCalloutExtender"
                                    runat="server" BehaviorID="ma3" Enabled="True" TargetControlID="RequiredFieldValidator4">
                                </asp:ValidatorCalloutExtender>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                Mobile Phone number:
                            </td>
                            <td>
                                <asp:TextBox ID="txtMonbile" runat="server" Width="200px" ValidationGroup="1"></asp:TextBox>
                                <span class="style3-tour-detail">*</span><asp:RequiredFieldValidator ID="RequiredFieldValidator5"
                                    runat="server" ControlToValidate="txtMonbile" Display="None" ErrorMessage="Required Value"
                                    ValidationGroup="1"></asp:RequiredFieldValidator>
                                <asp:ValidatorCalloutExtender ID="RequiredFieldValidator5_ValidatorCalloutExtender"
                                    runat="server" BehaviorID="ma4" Enabled="True" TargetControlID="RequiredFieldValidator5">
                                </asp:ValidatorCalloutExtender>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                Address (home or working office):
                            </td>
                            <td>
                                <asp:TextBox ID="txtAddress" runat="server" TextMode="MultiLine" Width="200px" ValidationGroup="1"></asp:TextBox>
                                <span class="style3-tour-detail">*</span><asp:RequiredFieldValidator ID="RequiredFieldValidator6"
                                    runat="server" ControlToValidate="txtAddress" Display="None" ErrorMessage="Required Value"
                                    ValidationGroup="1"></asp:RequiredFieldValidator>
                                <asp:ValidatorCalloutExtender ID="RequiredFieldValidator6_ValidatorCalloutExtender"
                                    runat="server" BehaviorID="ma5" Enabled="True" TargetControlID="RequiredFieldValidator6">
                                </asp:ValidatorCalloutExtender>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                Country:
                            </td>
                            <td>
                                <asp:DropDownList ID="ddlContry" runat="server" Width="200px" ValidationGroup="1">
                                </asp:DropDownList>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                &nbsp;
                            </td>
                            <td>
                                <asp:Button ID="Button1" runat="server" OnClick="Button1_Click" Text="Submit" ValidationGroup="1" />
                                &nbsp;
                                <input id="Reset1" type="reset" value="Reset" />
                            </td>
                        </tr>
                    </table>
                </ContentTemplate>
            </asp:TabPanel>
        </asp:TabContainer>
        <br />
    </div>
    <asp:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server">
    </asp:ToolkitScriptManager>
    <div>
        <strong>More:<br />
        </strong>
        <asp:DataList ID="DataList2" runat="server" Width="100%">
            <ItemTemplate>
                <table style="width: 100%;">
                    <tr>
                        <td style="width: 16px; vertical-align: top">
                            <img alt="tab" class="tab" src="../../Style/Images/tab_right.png" />
                        </td>
                        <td style="vertical-align: top">
                            <asp:HyperLink ID="linkTestimonial" runat="server" NavigateUrl='<%# "~/TourDetail.aspx?id="+Eval("Id") %>'><%# Eval("TieuDe")%>.</asp:HyperLink>
                        </td>
                    </tr>
                </table>
            </ItemTemplate>
        </asp:DataList>
    </div>
</div>
